package cn.itcast.vo;

import java.util.List;

//教材
public class TextBook {
	private int id; 
	public int getId() {
		return id;
	}
	@Override
	public String toString() {
		return "TextBook [id=" + id + ", name=" + name + "]";
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	private String name;
	private List<Chapter> chapters;
	public List<Chapter> getChapters() {
		return chapters;
	}
	public void setChapters(List<Chapter> chapters) {
		this.chapters = chapters;
	}

}
